//
//  KAMsgTableViewCell.m
//  KeepAccounts
//
//  Created by honeyrr on 2017/10/30.
//  Copyright © 2017年 honeyrr. All rights reserved.
//

#import "KAMsgTableViewCell.h"
@interface KAMsgTableViewCell()

@property (weak, nonatomic) IBOutlet UILabel *mainMsg;
@property (weak, nonatomic) IBOutlet UILabel *msgType;
@property (weak, nonatomic) IBOutlet UILabel *msgTime;

@end
@implementation KAMsgTableViewCell

-(void)setMsgModel:(KADataBaseModel *)msgModel
{
    _msgModel = msgModel;
    self.mainMsg.text = [NSString stringWithFormat:@"%@ 您记录了一笔金额：%@元", msgModel.date,msgModel.money];
    self.msgType.text = [NSString stringWithFormat:@"类型：%@",msgModel.billtype];
    self.msgTime.text = [NSString stringWithFormat:@"%@ %@", msgModel.date,msgModel.time];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
